package com.ruoyi.edu.mapper;

import java.util.List;
import com.ruoyi.edu.domain.Copyright;

/**
 * 软著Mapper接口
 * 
 * @author sanda
 * @date 2024-12-30
 */
public interface CopyrightMapper 
{
    /**
     * 查询软著
     * 
     * @param copyrightId 软著主键
     * @return 软著
     */
    public Copyright selectCopyrightByCopyrightId(Long copyrightId);

    /**
     * 查询软著列表
     * 
     * @param copyright 软著
     * @return 软著集合
     */
    public List<Copyright> selectCopyrightList(Copyright copyright);

    /**
     * 新增软著
     * 
     * @param copyright 软著
     * @return 结果
     */
    public int insertCopyright(Copyright copyright);

    /**
     * 修改软著
     * 
     * @param copyright 软著
     * @return 结果
     */
    public int updateCopyright(Copyright copyright);

    /**
     * 删除软著
     * 
     * @param copyrightId 软著主键
     * @return 结果
     */
    public int deleteCopyrightByCopyrightId(Long copyrightId);

    /**
     * 批量删除软著
     * 
     * @param copyrightIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCopyrightByCopyrightIds(Long[] copyrightIds);
}
